package com.itwxz.system.service;

import java.util.List;
import java.util.Map;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itwxz.system.domain.po.WxzOrderHistory;
import com.itwxz.system.domain.dto.SelectHistoryOrderDto;
import com.itwxz.system.domain.vo.SearchOrderVo;
import org.apache.ibatis.annotations.Param;


/**
 * 历史订单Service接口
 *
 * @author gastronome
 * @date 2025-04-06
 */
public interface IWxzOrderHistoryService extends IService<WxzOrderHistory> {


	/**
	 * 查询历史订单列表
	 *
	 * @param orderDto 历史订单
	 * @return 历史订单集合
	 */
	List<SelectHistoryOrderDto> selectWxzOrderHistoryList(SelectHistoryOrderDto orderDto);

	List<Map<String, Object>> orderStatistics();

	List<SearchOrderVo> searchOrderWithStaff(String keyword);

    Integer archiveAllOrders();
}
